package com.jlkf.dao;

import java.util.List;
import java.util.Map;

import com.jlkf.pojo.TblRole;

public interface TblRoleMapper {
    int deleteByPrimaryKey(Integer gId);

    int insert(TblRole record);

    int insertSelective(TblRole record);

    TblRole selectByPrimaryKey(Integer gId);

    int updateByPrimaryKeySelective(TblRole record);

    int updateByPrimaryKey(TblRole record);
    
    List<TblRole> selectList();
    
    List<TblRole> selectListByCondition(Map<String, Object> map);
    
    TblRole selectByRoleName(); //查询是否有‘代理人员’
}